<?php

$mes = file_get_contents('../url.txt');
$config =$mes = explode("\r\n",$mes);

    function is_not_weixin(){
        if (strpos($_SERVER['HTTP_USER_AGENT'],'MicroMessenger') !== false ) {
            return false;
        }else{
            return true;
        }
    }

    if(is_not_weixin()){
        $url=$config[0];//获取实盘url
        header('location: '.$url);//301跳转到实盘
        exit();
    }
?>

<html>
<head>
    <meta charset="UTF-8">
<title>跳转...</title>
</head>
<body>
<img src="onpeninliulanqi.png " width="100%">
</body>
</html>
